// ZoneTableRecord.cpp: implementation of the ZoneTableRecord class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ZoneTableRecord.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
using namespace PDMS::PDMSDBIF;

ZoneTableRecord::ZoneTableRecord()
{
	m_lID = 0;
	m_lParentID = 0;
	m_strDescription = _T("unset");
	m_strPurpose = _T("unset");
	m_strFunction = _T("unset");
	m_strModule = _T("unset");
	m_iNumber = 0;
	m_iArea = 0;
	m_iDUnion = 0;
	m_strPspec = _T("unset");
	m_strIspec = _T("unset");
	m_strTspec = _T("unset");
	m_strRlstored = _T("Unset");
}

ZoneTableRecord::~ZoneTableRecord()
{

}

void ZoneTableRecord::SetParentID( unsigned long lParentID )
{
	m_lParentID = lParentID;
}

void ZoneTableRecord::SetDescription( const StdString& strDescription )
{
	m_strDescription = strDescription;
}

void ZoneTableRecord::SetPurpose( const StdString& strPurpose )
{
	m_strPurpose = strPurpose;
}

void ZoneTableRecord::SetFunction( const StdString& strFunction )
{
	m_strFunction = strFunction;
}

void ZoneTableRecord::SetNumber( int iNumber )
{
	m_iNumber = iNumber;
}

void ZoneTableRecord::SetArea( int iArea )
{
	m_iArea = iArea;
}

void ZoneTableRecord::SetDUnion( int iDUnion )
{
	m_iDUnion = iDUnion;
}

void ZoneTableRecord::SetModule( const StdString& strModule )
{
	m_strModule = strModule;
}

void ZoneTableRecord::SetRlstored( const StdString& strRlstored )
{
	m_strRlstored = strRlstored;
}

void ZoneTableRecord::SetPspec( const StdString& strPspec )
{
	m_strPspec = strPspec;
}

void ZoneTableRecord::SetIspec(const StdString& strIspec )
{
	m_strIspec = strIspec;
}

void ZoneTableRecord::SetTspec(const StdString& strTspec )
{
	m_strTspec = strTspec;
}